/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: max.jianhua
 * @Last Modified time: 2020-11-20 15:21:28
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 资产负债表提报 (DLR)

// 店端获取资产负债表 /balance/dlr/getBalance
export const queryList = (params) => axios.post(`${SERVER.WHOLESALES}/balance/dlr/getBalance`, params)

// 资产负债表新增 /profit/save
export const saveOne = (params) => axios.post(`${SERVER.WHOLESALES}/balance/save`, params)

// 导出 /profit/export
export const exportExcel = (params) => axios.post(`${SERVER.WHOLESALES}/balance/export`, params, {
  responseType: 'blob'
});
